package com.kinghunt.misp.common.utils.easyExcel.order;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 荐购单表
 * Created by Mybatis Generator on 2023/08/07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ExportOrderInfoDTO extends ExportOrderCommon.OrderInfoData {
    /**
     * 订单编号
     */
    @ExcelProperty(value = "订单编号", order = 1)
    private Long id;

    /**
     * 下单用户
     */
    @ExcelProperty(value = "下单用户", order = 2)
    private String username;

    /**
     * 下单机构id
     */
    @ExcelProperty(value = "下单机构名称", order = 3)
    private String organizationName;

    /**
     * 订单来源:1-荐购管理，2-购物车，3-excel导入，4-iso导入，5-活动订单
     */
    @ExcelProperty(value = "订单来源", order = 4)
    private Integer orderSource;

    /**
     * 订单状态:1-未提交，2已提交，3已取消，4已通过（审批），5已发货，6已完成
     */
    @ExcelProperty(value = "订单状态", order = 5)
    private Integer orderStatus;

    /**
     * 订单书籍总册数
     */
    @ExcelProperty(value = "订单书籍总册数", order = 6)
    private Long orderBookCopiesCount;

    /**
     * 订单书籍总种数
     */
    @ExcelProperty(value = "订单书籍总种数", order = 7)
    private Long orderBookTypesCount;

    /**
     * 订单价格
     */
    @ExcelProperty(value = "订单价格", order = 8)
    private BigDecimal orderAmount;

    /**
     * 收货类型：0-自提、1-普通快递
     */
    @ExcelProperty(value = "收货类型", order = 9)
    private Integer receiptType;

    /**
     * 详细收货地址省市区手机号姓名
     */
    @ExcelProperty(value = "收货地址", order = 10)
    private String addressDetail;

    /**
     * 物流公司
     */
    @ExcelProperty(value = "物流公司", order = 11)
    private String logistics;

    /**
     * 物流单号
     */
    @ExcelProperty(value = "物流单号", order = 12)
    private String logisticsNo;

    /**
     * 订单备注
     */
    @ExcelProperty(value = "订单备注", order = 13)
    private String orderRemark;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间", order = 14)
    private Date createGmt;

}